﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication2.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link href="images/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="javascript/jquery.min.js"></script>
<script type="text/javascript">
$(function(){
	//setMenuHeight
	$('.menu').height($(window).height()-51-27-26);
	$('.sidebar').height($(window).height()-51-27-26);
	$('.page').height($(window).height()-51-27-26);
	$('.page iframe').width($(window).width()-15-168);
	
	//menu on and off
	$('.btn').click(function(){
		$('.menu').toggle();
		
		if($(".menu").is(":hidden")){
			$('.page iframe').width($(window).width()-15+5);
			}else{
			$('.page iframe').width($(window).width()-15-168);
				}
		});
		
	//
	$('.subMenu a[href="#"]').click(function(){
		$(this).next('ul').toggle();
		return false;
		});
})
</script>
    
</head>
<body>

    <form id="form1" runat="server">
   <div id="wrap">
	<div id="header">
    <div class="logo fleft"></div>
    <div class="nav fleft">
    	<ul>
        	
            <li class="first">学生</li>
        	<li>教师</li>
            <li>成绩</li>
            <li>课程</li>
            <li>用户</li>
            <li>应用</li>
           
        </ul>
    </div>
    <a class="logout fright" href="login.aspx"> </a>
    <div class="clear"></div>
    <div class="subnav">
    	<div class="subnavLeft fleft"></div>
        <div class="fleft"></div>
        <div class="subnavRight fright"></div>
    </div>
    </div><!--#header -->
    <div id="content">
    <div class="space"></div>
    <div class="menu fleft">
    	<ul>
        	<li class="subMenuTitle">学生信息</li>
            <li class="subMenu"><a href="#"></a>
            	<ul>
                	<li><a href="show.aspx" target="right">查看</a></li>
                    <li><a href="ADD.aspx">添加</a></li>
                    
                </ul>
            </li>
            <li class="subMenu"><a href="main.aspx" target="right">老师信息</a>
                <ul>
                	<li><a href="teacherinfo.aspx" target="right">查看</a></li>
                    <li><a href="addteacher.aspx">添加</a></li>
                  
                </ul>
            </li>
            
        </ul>
    </div>
    <div class="sidebar fleft"><div class="btn"></div></div>
    <div class="page">
        <iframe width="100%" scrolling="auto" height="100%" frameborder="false" allowtransparency="true" style="border: medium none;" src="show.aspx" id="rightMain" name="right"></iframe>
        

        
    </div>
    </div><!--#content -->
    <div class="clear"></div>
    <div id="footer"></div><!--#footer -->
</div><!--#wrap -->
<div style="text-align:center;">

</div> 
    </form>
</body>
</html>
